package cac.gkinterface.dao;

import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface ReCallWzDao {
    HashMap queryItemInventory(@Param("map") HashMap map);


    HashMap queryWmsDeliveryBarcodeById(@Param("map") HashMap map);

    List<HashMap> queryWmsDeliveryPlanIds();

    //xiaojian 重推扫码退回获得数据
    HashMap scanCallBack(@Param("map") HashMap map);

    //xiaojian 重推协调单管理数据
    HashMap sendCoordinateRecall(@Param("map") HashMap map);

    //xiaojian 查询重推的协调单状态
    HashMap coordinateStatusRecall(@Param("map") HashMap map);

    //xiaojian 修改交接单状态为已废除
    int updateDeliveryStatus(@Param("map") HashMap map);

    //重推分拣占用信息到ERP
    HashMap recallOutAllotToERP(@Param("map") HashMap map);

    //清理日志
    int deleteIssuedLog();
    int deleteERPExchangeLog();

    List<HashMap> queryBzjDeliveryByTable();
    List<HashMap> queryBzjInventoryByTable();

    List<String> queryInvOutAllotmentIds();

    int updateMsRecallTabStatus(@Param("map") HashMap map);
    int updateMsRecallTabStatusByAllotmentId(@Param("allotmentId") String allotmentId);

    List<HashMap> queryOccupyInfo();
}
